package com.usiful.text;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

/**
 * 文本处理工具调度器
 * @author [周织能]
 *
 */
public class TextHandlerDispatcher {

	protected final int mDefaultThreadPoolSize = 5;
	protected final ExecutorService mExecutorService = Executors.newFixedThreadPool(mDefaultThreadPoolSize);
	
	public void handle(String[] args) {
		
	}
	
	public void addTask(Runnable task) {
		Future<Runnable> runFuture = (Future<Runnable>) mExecutorService.submit(task);
	}
}
